package com.ukao.steward.bean;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Created by ukaodev on 2017/9/14.
 */

public class VerifysBean   {


    /**
     * data : {"phone":"188****5458","msg":"验证码已发送至：188****5458"}
     * httpCode : 200
     * msg : 请求成功
     * timestamp : 1505377885628
     */

    private DataBean data;
    private int httpCode;
    private String msg;
    private long timestamp;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public int getHttpCode() {
        return httpCode;
    }

    public void setHttpCode(int httpCode) {
        this.httpCode = httpCode;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(long timestamp) {
        this.timestamp = timestamp;
    }

    public static class DataBean implements Parcelable {
        /**
         * phone : 188****5458
         * msg : 验证码已发送至：188****5458
         */
       private String account;
        private String phone;
        private String msg;

        public String getAccount() {
            return account;
        }

        public void setAccount(String account) {
            this.account = account;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public String getMsg() {
            return msg;
        }

        public void setMsg(String msg) {
            this.msg = msg;
        }


        @Override
        public int describeContents() {
            return 0;
        }

        @Override
        public void writeToParcel(Parcel dest, int flags) {
            dest.writeString(this.account);
            dest.writeString(this.phone);
            dest.writeString(this.msg);
        }

        public DataBean() {
        }

        protected DataBean(Parcel in) {
            this.account = in.readString();
            this.phone = in.readString();
            this.msg = in.readString();
        }

        public static final Parcelable.Creator<DataBean> CREATOR = new Parcelable.Creator<DataBean>() {
            @Override
            public DataBean createFromParcel(Parcel source) {
                return new DataBean(source);
            }

            @Override
            public DataBean[] newArray(int size) {
                return new DataBean[size];
            }
        };
    }
}
